package com.milepost.workflow.dept.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.milepost.workflow.dept.entity.DeptEntity;

import java.util.List;

/**
 * @author huarf
 * @Description
 * @create 2022-03-24 1:15
 */
public interface DeptMapper extends BaseMapper<DeptEntity> {

    /**
     * 获取所有顶级部门
     * @return
     */
    List<DeptEntity> getRootFeptList();

}
